Restore command line parsing code from qemu-0.6.1
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 25 Jul 2005 21:02:50 +0000 (21:02 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 25 Jul 2005 21:02:50 +0000 (21:02 +0000)
commit969807247dfa7d57cecd79fcd5a1dc4207e82614
treeb33548334903ae61cfb08e29d9c0718e711661d3
parent643aa190098f7c40892ea5070f865e93a8d1dc4e
Restore command line parsing code from qemu-0.6.1

This enables cdrom ejection (both file based and physical i.e. /dev/cdrom)

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/ioemu/monitor.c